package com.elink.enginerring.library.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.library.co.ThesisCo;
import com.elink.enginerring.library.entity.Thesis;

public interface ThesisMapper {
	int deleteByPrimaryKey(String thesisId);

	int insert(Thesis record);

	int insertSelective(Thesis record);

	Thesis selectByPrimaryKey(String thesisId);

	int updateByPrimaryKeySelective(Thesis record);

	int updateByPrimaryKey(Thesis record);

	List<Thesis> selectList(@Param("co") ThesisCo co);

	Thesis selectByThesisId(@Param("thesisId") String thesisId);

	int selectCount(@Param("co") ThesisCo co);

	void delete(@Param("ids") String ids);

	void auth(@Param("ids")String ids, @Param("authStatus")int authStatus);
}